	<div class='searchAndSelect'>
	<form action="" method="post">
  			<label for="searchTags" id="tagsLabel">Search &nbsp</label>
  			<input type='text' name='player' id="searchTags" onchange="searchPlayer()"/>
  			<input type="submit" name='submit' value="Find" class="FindButton" />
  	</form>		
	</div>
	<?php 
		$dbconnect = DBconnect::getInstance();
		$arrayInfo = $dbconnect->searchAllPlayers();
		$jsonPlayer = json_encode($arrayInfo, JSON_PRETTY_PRINT);
	?>
	  <script>
  $(function() {
    $( "#searchTags" ).autocomplete({
      source: <?php echo $jsonPlayer; ?>
    });
  });
  </script>